function [ discerning, discerning1, discerning2, discerning3, discerning4, discerning5 ] = getDiscerningScores(scores, ex1, ex2, ex3, ex4, ex5)
%UNTITLED2 Summary of this function goes here
%   Detailed explanation goes here
lothresh = .05;
hithresh = .9;
discernIdx = 0;
for i = 1:size(scores, 1)
    for j = 1:size(scores, 2)
        if (scores(i, j) > hithresh)
            isDiscerning = 1;
            for k = 1:size(scores, 2)
                if (k ~= j && scores(i, k) > lothresh)
                    isDiscerning = 0;
                    break;
                end
            end
            if (isDiscerning)
                discernIdx = discernIdx + 1;
                discerning(discernIdx, :) = scores(i, :);
                if (nargin > 1) discerning1(discernIdx, :) = ex1(i, :); end
                if (nargin > 2) discerning2(discernIdx, :) = ex2(i, :); end
                if (nargin > 3) discerning3(discernIdx, :) = ex3(i, :); end
                if (nargin > 4) discerning4(discernIdx, :) = ex4(i, :); end
                if (nargin > 5) discerning5(discernIdx, :) = ex5(i, :); end
            end
        end
    end
end


end

